package com.platform.dao;

import com.platform.entity.ProductRelateShopDto;

/**
 * @author zhanghao
 */
public interface ApiProdRelateShopMapper extends BaseDao<ProductRelateShopDto> {

    ProductRelateShopDto queryByShopIdAndProdId(ProductRelateShopDto dto);

    ProductRelateShopDto queryByShopIdAndId(ProductRelateShopDto dto);

    int updateStockNum(ProductRelateShopDto dto);

    int updateStockNumById(ProductRelateShopDto dto);

    int savaProdRelateShopDto(ProductRelateShopDto dto);

}
